﻿using System;
using System.ComponentModel.DataAnnotations;
using YNTK.Dependency;

namespace YNTK.System.Entitys.Dto.Permission.Organize
{
    /// <summary>
    /// 开通服务请求模型
    /// </summary>
    [SuppressSniffer]
    public class OpenOrganizeRequestModel
    {
        /// <summary>
        /// id
        /// </summary>
        [Required(ErrorMessage = "组织唯一标识不能为空")]
        public string id { get; set; }

        /// <summary>
        /// 授权期限起
        /// </summary>
        [Required(ErrorMessage = "请选择授权期限")]
        public DateTime mandateStart { get; set; }

        /// <summary>
        /// 授权期限止
        /// </summary>
        [Required(ErrorMessage = "请选择授权期限")]
        public DateTime mandateEnd { get; set; }

        /// <summary>
        /// 授权TK码
        /// </summary>
        [Required(ErrorMessage = "授权TK码不能为空")]
        public string authorizationCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string description { get; set; }

    }


}
